-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
all: add user agents and improve build info log #202
Conversation
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @joshuasing I have a very small request change to a test; it is almost a nitpick but I think it would help determine which test fails if one does.
additionally, and this is completely optional but would give me peace of mind 😌 , I would love a test that sends a specific UserAgent
to bfg, and ensured that bfg received the useragent correctly (i.e. there is no issue reading that value from where it should be)
Summary
Add
User-Agent
headers and aUserAgent
to the secp256k1 authenticator.This allows our HTTP connections to be identifiable, and provides some basic information about the client.
Changes
version
package.User-Agent
header to the popm->bfg connection.UserAgent
to the secp256k1 authenticator.version.PreRelease
variable at link-time for releases.BuildInfo()
function toversion
package that includes basic information about the environment that is useful for debugging.